import Vue from 'vue'
import Antd from 'ant-design-vue'
import app from './app.vue'
import router from './router'
import store from './stores/store'
import i18n from './lang'
import './utils/http'
import 'ant-design-vue/dist/antd.css'

Vue.config.productionTip = false
Vue.use(Antd)
window.vueRoot = new Vue({
    router,
    data: store,
    i18n,
    beforeCreate() {
        Vue.prototype.bus = this;
    },
    render: h => h(app)
}).$mount('#app')